package com.fly.ribbon.properties

import org.springframework.boot.context.properties.ConfigurationProperties

/**
 * @author  fly
 * @date  2021/5/18 16:45
 * @version 1.0
 */
@ConfigurationProperties(prefix = "fly.rest-template")
data class RestTemplateProperties(

    var maxTotal: Int? = 200,

    var maxPerRoute: Int? = 50,

    var readTimeout: Int? = 35000,

    var connectTimeout: Int? = 10000
)